<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>ShoppingCenter</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link rel="stylesheet" href="css/bootstrap.css">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    #userSel{
      width: 60%;
      margin:0 auto;
    }
    h2{
      text-align: center;
    }
    .add,.reduce{
      cursor: pointer;
    }
    #footer{
     margin-top:100px;
    }
    #footer img{
      width:100%;
    }
    .container .navbar-header>img{
      margin-top:4px;
    }
    #result{
      display: none;
    }
  </style>
  <!-- Bootstrap -->
  <link href="css/bootstrap.css" rel="stylesheet">
  <link rel="stylesheet" href="css/index.css"/>
  <!--[if lt IE 9]>
  <script src="js/html5shiv.min.js"></script>
  <script src="js/respond.min.js"></script>
  <![endif]-->
</head>
<body>
  <header id="header"></header>
  <div id="userSel">
    <h2>选择产品信息</h2>
    <table class="table table-striped table-hover" id="users">
      <thead>
      <tr>
        <th>商品名称</th>
        <th>商品数量</th>
        <th>取消订单</th>
      </tr>
      </thead>
      <tbody></tbody>
    </table>
    <a href="#" class="btn btn-success" id="btnSub">提交</a>
    <a href="1.html"  target="_self" class="btn btn-info ">重新选择</a>
    <!--设置显示结果内容结构-->
    <div class="container" style="margin-top: 100px;" id="result">
      <h3>查询结果</h3>
      <ul class="nav nav-tabs">
        <li  class="active"><a href="#darunfa" data-toggle="tab">大润发</a></li>
        <li><a href="#hejiafu" data-toggle="tab">合家福</a></li>
        <li><a href="#hualian" data-toggle="tab">北京华联</a></li>
        <li><a href="#best" data-toggle="tab">最优组合</a></li>
      </ul>
      <div  class="tab-content">
        <div id="darunfa" class="tab-pane active">
          <table class="table table-striped table-hover">
            <thead>
            <tr>
              <th>商品名称</th>
              <th>购买数量</th>
              <th>超市</th>
              <th>价格</th>
              <th>距离(m)</th>
              <th>小计</th>
            </tr>
            </thead>
            <tbody></tbody>
            <tfoot>
              <tr>
                <td>总计：</td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td class="total"></td>
              </tr>
            </tfoot>
          </table>
        </div>
        <div id="hejiafu" class="tab-pane">
          <table class="table table-striped table-hover">
            <thead>
            <tr>
              <th>商品名称</th>
              <th>购买数量</th>
              <th>超市</th>
              <th>价格</th>
              <th>距离(m)</th>
              <th>小计</th>
            </tr>
            </thead>
            <tbody></tbody>
            <tfoot>
              <tr>
                <td>总计：</td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td class="total"></td>
              </tr>
            </tfoot>
          </table>
        </div>
        <div id="hualian" class="tab-pane">
          <table class="table table-striped table-hover">
            <thead>
            <tr>
              <th>商品名称</th>
              <th>购买数量</th>
              <th>超市</th>
              <th>价格</th>
              <th>距离(m)</th>
              <th>小计</th>
            </tr>
            </thead>
            <tbody></tbody>
            <tfoot>
              <tr>
                <td>总计：</td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td class="total"></td>
              </tr>
            </tfoot>
          </table>
        </div>
        <div  id="best" class="tab-pane">
          <table class="table table-striped table-hover">
            <thead>
            <tr>
              <th>商品名称</th>
              <th>购买数量</th>
              <th>超市</th>
              <th>价格</th>
              <th></th>
              <th>小计</th>
            </tr>
            </thead>
            <tbody></tbody>
            <tfoot>
              <tr>
                <td>总计：</td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td class="total"></td>
              </tr>
              <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td><a href="#" class="btn btn-block btn-info" id="subOrder">提交订单</a></td>
                <td></td>
              </tr>
            </tfoot>
          </table>
        </div>
      </div>
    </div>
    <footer id="footer"></footer>
    <script src="js/jquery-3.1.1.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/shoppingCenter.js"></script>
    <script src="js/bootlint.js"></script>
    <script>
      bootlint.showLintReportForCurrentDocument([]);
    </script>
  </div>
</body>
</html>